@import url('/css/style.css');

.user-search-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-top: 20px;
    border-top: 2px solid #e9ecef;
}

.search-box {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

#usernameInput {
    padding: 8px 12px;
    border: 2px solid #ced4da;
    border-radius: 4px;
    width: 250px;
    min-width: 200px;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1);
}

#usernameInput:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.25);
    outline: 0;
}

#searchButton {
    padding: 8px 16px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    min-width: 80px;
}

#searchButton:hover {
    background-color: #0056b3;
}

.user-specific-result {
    margin-top: 10px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 4px;
    border-left: 4px solid #007bff;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    font-size: 0.95rem;
}

.charts-container {
    display: grid !important;
    grid-auto-flow: row;
    align-items: center;
    gap: 20px;
}

@media (max-width: 480px) {
    #usernameInput {
        width: 100%;
    }

    #searchButton {
        width: 100%;
    }
}